package com.mock.dao.impl;

import java.util.List;

import com.mock.dao.CountryDao;
import com.mock.model.Country;

public class CountryDaoImpl extends GenericDaoImpl<Country, Long> implements CountryDao{

	@Override
	public List<Country> getAllCountry() {
		
		return super.getAll(Country.class);
	}

	@Override
	public Country getById(long id) {
		
		return super.getById(Country.class, id);
	}
		
	@Override
	public Country getByName(String nameColume, String valueSearch) {
		return super.getByColumn(Country.class, nameColume, valueSearch);
	}

}
